package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Echart;
import org.springframework.dao.DataAccessException;

import java.util.Calendar;
import java.util.Set;

public interface EchartDAO extends JpaDao<Echart> {

	public Echart findEchartById(Integer id) throws DataAccessException;

	public Echart findEchartById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByName(String name) throws DataAccessException;

	public Set<Echart> findEchartByName(String name, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByNameContaining(String name_1) throws DataAccessException;

	public Set<Echart> findEchartByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByEvent(Integer event) throws DataAccessException;

	public Set<Echart> findEchartByEvent(Integer event, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByEventname(String eventname) throws DataAccessException;

	public Set<Echart> findEchartByEventname(String eventname, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByEventnameContaining(String eventname_1) throws DataAccessException;

	public Set<Echart> findEchartByEventnameContaining(String eventname_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourcecountry(String sourcecountry) throws DataAccessException;

	public Set<Echart> findEchartBySourcecountry(String sourcecountry, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourcecountryContaining(String sourcecountry_1) throws DataAccessException;

	public Set<Echart> findEchartBySourcecountryContaining(String sourcecountry_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourceprovince(String sourceprovince) throws DataAccessException;

	public Set<Echart> findEchartBySourceprovince(String sourceprovince, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourceprovinceContaining(String sourceprovince_1) throws DataAccessException;

	public Set<Echart> findEchartBySourceprovinceContaining(String sourceprovince_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourcecity(String sourcecity) throws DataAccessException;

	public Set<Echart> findEchartBySourcecity(String sourcecity, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySourcecityContaining(String sourcecity_1) throws DataAccessException;

	public Set<Echart> findEchartBySourcecityContaining(String sourcecity_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycountry(String discoverycountry) throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycountry(String discoverycountry, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycountryContaining(String discoverycountry_1) throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycountryContaining(String discoverycountry_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryprovince(String discoveryprovince) throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryprovince(String discoveryprovince, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryprovinceContaining(String discoveryprovince_1) throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryprovinceContaining(String discoveryprovince_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycity(String discoverycity) throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycity(String discoverycity, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycityContaining(String discoverycity_1) throws DataAccessException;

	public Set<Echart> findEchartByDiscoverycityContaining(String discoverycity_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodtypename(String foodtypename) throws DataAccessException;

	public Set<Echart> findEchartByFoodtypename(String foodtypename, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodtypenameContaining(String foodtypename_1) throws DataAccessException;

	public Set<Echart> findEchartByFoodtypenameContaining(String foodtypename_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodtype(Integer foodtype) throws DataAccessException;

	public Set<Echart> findEchartByFoodtype(Integer foodtype, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartBySourceTime(Calendar sourceTime) throws DataAccessException;

	public Set<Echart> findEchartBySourceTime(Calendar sourceTime, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryTime(Calendar discoveryTime) throws DataAccessException;

	public Set<Echart> findEchartByDiscoveryTime(Calendar discoveryTime, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDescription(String description) throws DataAccessException;

	public Set<Echart> findEchartByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Echart> findEchartByDescriptionContaining(String description_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByAdultertype(String adultertype) throws DataAccessException;

	public Set<Echart> findEchartByAdultertype(String adultertype, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByAdultertypeContaining(String adultertype_1) throws DataAccessException;

	public Set<Echart> findEchartByAdultertypeContaining(String adultertype_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByAdulterlink(String adulterlink) throws DataAccessException;

	public Set<Echart> findEchartByAdulterlink(String adulterlink, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByAdulterlinkContaining(String adulterlink_1) throws DataAccessException;

	public Set<Echart> findEchartByAdulterlinkContaining(String adulterlink_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodname(String foodname) throws DataAccessException;

	public Set<Echart> findEchartByFoodname(String foodname, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByFoodnameContaining(String foodname_1) throws DataAccessException;

	public Set<Echart> findEchartByFoodnameContaining(String foodname_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartBySubject(String subject) throws DataAccessException;

	public Set<Echart> findEchartBySubject(String subject, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartBySubjectContaining(String subject_1) throws DataAccessException;

	public Set<Echart> findEchartBySubjectContaining(String subject_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodmaintype(String foodmaintype) throws DataAccessException;

	public Set<Echart> findEchartByFoodmaintype(String foodmaintype, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodmaintypeContaining(String foodmaintype_1) throws DataAccessException;

	public Set<Echart> findEchartByFoodmaintypeContaining(String foodmaintype_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodbatchfiller(String foodbatchfiller) throws DataAccessException;

	public Set<Echart> findEchartByFoodbatchfiller(String foodbatchfiller, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByFoodbatchfillerContaining(String foodbatchfiller_1) throws DataAccessException;

	public Set<Echart> findEchartByFoodbatchfillerContaining(String foodbatchfiller_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartByPunish(String punish) throws DataAccessException;

	public Set<Echart> findEchartByPunish(String punish, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByPunishContaining(String punish_1) throws DataAccessException;

	public Set<Echart> findEchartByPunishContaining(String punish_1, int startResult, int maxRows)
			throws DataAccessException;

	public Echart findEchartByPrimaryKey(Integer id) throws DataAccessException;

	public Echart findEchartByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartsByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Echart> findAllEcharts() throws DataAccessException;

	public Set<Echart> findAllEcharts(int startResult, int maxRows) throws DataAccessException;

	public Set<Echart> findEchartByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Echart> findEchartsByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Echart findEchartByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Echart findEchartByPhysicalPrimaryKey(String name, int startResult, int maxRows) throws DataAccessException;
}
